package com.rykj.qxj.server.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;


@ApiModel("审核操作参数")
public class AuditParams {
    @ApiModelProperty(value = "申请id")
    private Integer auditId;
    @ApiModelProperty(value = "审核状态,待审核auditing,审核通过pass,审核驳回reject")
    private String  auditStatus;
    @NotNull(message = "审核人不允许为空")
    @ApiModelProperty(value = "审核人")
    private String  auditor;
    @ApiModelProperty(value = "审核描述")
    private String  auditRemark;
    @ApiModelProperty(value = "变动类型:新增:insert,修改:update,删除:delete,建表:create,删表:deleteTable")
    private String  changeType;
    @ApiModelProperty(value = "连接IP地址")
    private String  databaseIP;
    @ApiModelProperty(value = "数据库名称")
    private String  databaseName;
    @ApiModelProperty(value = "密码")
    private String  password;
    @ApiModelProperty(value = "用户名")
    private String  userName;
    @ApiModelProperty(value = "表名")
    private String tableName;
    @ApiModelProperty(value = "表描述")
    private String tableNotes;

    @ApiModelProperty(value = "端口号")
    private String port;

    @ApiModelProperty(value = "表Id")
    private Integer tableId;

    public Integer getAuditId() {
        return auditId;
    }

    public void setAuditId(Integer auditId) {
        this.auditId = auditId;
    }

    public String getAuditStatus() {
        return auditStatus;
    }

    public void setAuditStatus(String auditStatus) {
        this.auditStatus = auditStatus;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public String getAuditRemark() {
        return auditRemark;
    }

    public void setAuditRemark(String auditRemark) {
        this.auditRemark = auditRemark;
    }

    public String getChangeType() {
        return changeType;
    }
    public void setChangeType(String changeType) {
        this.changeType = changeType;
    }

    public String getDatabaseIP() {
        return databaseIP;
    }

    public void setDatabaseIP(String databaseIP) {
        this.databaseIP = databaseIP;
    }

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getTableNotes() {
        return tableNotes;
    }

    public void setTableNotes(String tableNotes) {
        this.tableNotes = tableNotes;
    }

    public Integer getTableId() {
        return tableId;
    }

    public void setTableId(Integer tableId) {
        this.tableId = tableId;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }
}
